package com.zc.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.blog.model.Comment;

import java.util.List;

public interface ICommentService extends IService<Comment> {

    Comment findById(Integer id);

    //根据文章id获取多有评论
    List<Comment> findCommentByArticleId(Integer articleId);
}
